package baiwa.rta.service;

import baiwa.rta.model.DataTableModel;
import baiwa.rta.model.Role;


public interface RoleService {

//	public List<Role> findAll();

//	public List<Role> findRoleByCriteria(Role user);

	public Role findById(Integer id);

//	public Role findByRolename(String username);

	public DataTableModel<Role> getRoleDataTable(Role model, int iDisplayStart,	int iDisplayLength);

	public void save(Role role);
	
	public void update(Role role);

	public void delete(Role role);
}
